package com.youlai.boot.factory.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.FactoryMember;
import com.youlai.boot.factory.model.form.FactoryMemberForm;

/**
 * 服装厂员工信息对象转换器
 *
 * @author youlaitech
 * @since 2025-09-28 21:51
 */
@Mapper(componentModel = "spring")
public interface FactoryMemberConverter{

    FactoryMemberForm toForm(FactoryMember entity);

    FactoryMember toEntity(FactoryMemberForm formData);
}